/*
 * TeacherDb.h
 *
 *  Created on: 4 May 2010
 *      Author: VasTsor
 */

#ifndef TEACHERDB_H_
#define TEACHERDB_H_

#include "OdbcConnectionSingleton.h"
#include <vector>

class TeacherDb {
public:
	TeacherDb(const string *dbName, const string *user, const string *passwd);
	virtual ~TeacherDb();
	virtual string *getLastCode() const=0;
	vector<string *> getTeachersByCourse(const string *code) const;
};

#endif /* TEACHERDB_H_ */
